package com.zky.gulimall.product.vo;

import com.zky.gulimall.product.entity.SkuImagesEntity;
import com.zky.gulimall.product.entity.SkuInfoEntity;
import com.zky.gulimall.product.entity.SpuInfoDescEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Description sku信息
 * @Author 张开源
 * @Date 2022/11/20 0:26
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SkuItemVo {
    /**
     * skuInfo信息
     */
    private SkuInfoEntity skuInfoEntity;
    /**
     * sku图片信息
     */
    private List<SkuImagesEntity> images;
    /**
     * spu描述信息
     */
    private SpuInfoDescEntity desc;
    /**
     * 销售属性组合
     */
    private List<SkuItemSaleAttrsVo> saleAttr;
    /**
     * spu规格参数信息
     */
    private List<SpuItemAttrGroupVo> groupAttrs;

    /**
     * 是否有货
     */
    private Boolean hasStock = true;

    /**
     * 秒杀信息
     */
    private SecKillInfoVo secKillInfoVo;


}
